package org.sample.service;

import java.util.List;

import org.sample.entity.User;

public interface UserService {

    User login(String username, String password);

    List<User> getIdNameList();

    void logicalDelete(Integer id);

    User saveNotNull(User entity);

}